import {domainService} from '~/config/server'
import { NetService } from '~/utils/net.service'
import { Inject, Debounce } from "~/core/decorator";

export class CaseOutContrastController {

  @Inject(NetService)
  private netService: NetService

  /**
   * 下载对账单模板
   */
  @Debounce()
  public downLoadBill() {
    return this.netService.send({
      server: domainService.caseOutContrastController.downLoadBill,
    }) 
  }
  /**
   * 下载还款记录模板
   */
  @Debounce()
  public downLoadRepaymentRecord() {
    return this.netService.send({
      server: domainService.caseOutContrastController.downLoadRepaymentRecord,
    }) 
  }
}
